package openapi

import "github.com/getkin/kin-openapi/openapi3"

type DefaultDefHandler struct {
}

func (d *DefaultDefHandler) TransformValue(def *openapi3.Schema, value interface{}) (bool, interface{}, error) {
	return false, value, nil
}
func (d *DefaultDefHandler) TransformValueVersa(def *openapi3.Schema, value interface{}) (bool, interface{}, error) {
	return false, value, nil
}

//当返回未定义时，应如何处理
func (d *DefaultDefHandler) CreateResponseIfNotDefined() ActionTypeWhenNotDefined {
	return ThrowErrorOfNotDefined
}
